From 4c6c510f8d9fcfc42ce6f70f11c83c5db58501e7 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sat, 13 May 2006 16:45:12 +0000 Subject: [PATCH] Ignore the user and user talk namespaces on Special:Wantedpages --- RELEASE-NOTES | 1 + includes/SpecialWantedpages.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 496db75e65..7feeecf5ca 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -252,6 +252,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN $wgRateLimitsExcludedGroups * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages * (bug 5931) Update for Polish language (pl) +* Ignore the user and user talk namespaces on Special:Wantedpages == Compatibility == diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index 92958e8d1c..8402bd5ea5 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -49,6 +49,7 @@ class WantedPagesPage extends QueryPage { LEFT JOIN $page AS pg2 ON pl_from = pg2.page_id WHERE pg1.page_namespace IS NULL + AND pl_namespace NOT IN ( 2, 3 ) AND pg2.page_namespace != 8 GROUP BY pl_namespace, pl_title HAVING COUNT(*) > $count"; -- 2.20.1